package com.databaseManager;
public class Checkment {
    private String applyId;
    private String Eid;
    private String Pid;
    private CheckFeature[] features;
    private int Price;

    public Checkment(String applyId, String Eid, String Pid, String[] cheIds, String[] cheNames) {
    	this.applyId = applyId;
        this.Eid = Eid;
        this.Pid = Pid;
        features = new CheckFeature[cheIds.length];
        Price = 0;
        
        for(int i = 0; i < cheIds.length; i++) {
        	features[i] = new CheckFeature(cheIds[i], cheNames[i]);
        }
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
    	this.applyId = applyId;
    }

    public String getEid() {
        return Eid;
    }

    public void setEid(String Eid) {
    	this.Eid = Eid;
    }
    
    public String getPid() {
        return Pid;
    }

    public void setPid(String Pid) {
    	this.Pid = Pid;
    }
    
    public CheckFeature[] getFeatures() {
    	return features;
    }
    
    //public void setFeatures(String ) {
    //	return features;
    //}
    
    public int getPrice() {
        return Price;
    }

    public void setPrice(int price) {
        Price = price;
    }
}
